package com.cloud.logger.zchain.zchainserver.mongo;


import com.cloud.logger.zchain.zchainserver.entity.AngelaLoggerProjectNode;
import com.cloud.logger.zchain.zchainserver.entity.AngelaLoggerProjectNodeDetail;
import com.cloud.logger.zchain.zchainserver.entity.propertyenum.SwitchEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * User: wcy
 * Date: 2017/11/2
 * Time: 11:29
 */
public interface AngelaProjectNodeDetailRepository extends BaseMongoRepository<AngelaLoggerProjectNodeDetail,Serializable> {

    AngelaLoggerProjectNodeDetail findFirstByCodeAndIpAndPortAndCreateTimeAfterOrderByCreateTimeDesc(String code, String ip, String port, Date date);
}
